package cn.micro.eye.type;

import cn.micro.eye.commons.validate.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;

@Getter
@AllArgsConstructor
public enum AreaCategoryEnum implements IEnum {

    COUNTRY(0, "国家"),
    PROVINCE(1, "省/市"),
    CITY(2, "市/州"),
    DISTRICT(3, "区/市/县"),
    SCHOOL(4, "学校");

    public static final List<Integer> GROUP = Arrays.asList(0, 1, 2, 3, 4);

    private final int value;
    private final String title;

}
